package cn.edu.xhu.library_management.user.client;

import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: MMJ
 * @Date: 2023 - 05 - 03
 * @Description: 物联网设备控制
 */
@FeignClient("lmIOT")
public interface IotClient {

    // 下发地址生成二维码
    @GetMapping("/lm_iot/command/seat/{id}")
    public boolean sendSeatInfo(@PathVariable("id") Integer id);
}
